package edu.uw.tcss360.group6.gui.Actions;

import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;

import edu.uw.tcss360.group6.gui.GUI;

@SuppressWarnings("serial")
public class BackAction extends AbstractAction {

	public BackAction() {
		super("Back");
	}
	@Override
	public void actionPerformed(ActionEvent e) {
		GUI.instance().my_main_panel.setCard(GUI.instance().my_main_panel.getPreviousCard());
	}

}
